Skip to main content

mobileStoreVerifyPurchase

Type​

command

Summary​

Confirm or reject a purchase in the unverified state.

Syntax​

mobileStoreVerifyPurchase <purchaseID>, <verified>

Description​

Use mobileStoreVerifyPurchase to confirm or reject a purchase.

The command mobileStoreVerifyPurchase is used to confirm or reject a purchase in the unverified state.

Parameters​

NameTypeDescription

purchaseID

The identifier of the purchase request.

verified

boolean

A boolean that specifies the state of the purchaseStateUpdate message to be sent. True indicates current state of the purchase request. False sends an error at this state.

Examples​

mobileStoreVerifyPurchase thePurchaseId, true

command: mobileStoreRestorePurchases, mobileStoreDisablePurchaseUpdates, mobileStoreEnablePurchaseUpdates, mobileStoreRequestProductDetails, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase

function: mobileStoreProductProperty, mobileStorePurchaseError, mobileStorePurchasedProducts, mobileStoreCanMakePurchase

message: purchaseStateUpdate, productRequestError, productDetailsReceived

Compatibility and Support​

Introduced

LiveCode 6.7

OS

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?